example = {
    onPageLoad: function()
    {
        var myScene = new plant.Scene({
            htmlNodeId: 'my_canvas',
            width: 640,
            height: 480
        });

        myScene.fillBackground('black');

        var myCubePlayer = new plant.primitives.Rectangle({
            width: 20,
            height: 20,
            x: 120,
            y: 200,
            color: 'green'
        });

        var myCubePlayer2 = new plant.primitives.Ellipse({
            width: 100,
            height: 100,
            x: 120,
            y: 200,
            color: 'gold'
        });

        myScene.addChild(myCubePlayer);
        myScene.addChild(myCubePlayer2);

        myScene.update();

    }
};


window.addEventListener('load', example.onPageLoad, false);
//var man = new plant.SpriteNode('man.png');
